Home:ALL Converter>How to perform cascade rounding in PostgreSQL?

How to perform cascade rounding in PostgreSQL?

Ask Time:2020-04-24T20:54:29         Author:ido klein

Json Formatter

Cascade rounding is an algorithm to round an array of floats while preserving their sum. How does one implements this algorithm in PostgreSQL?

Author:ido klein,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/61408845/how-to-perform-cascade-rounding-in-postgresql
yy